﻿using Admin.Core.Model.Warehouse;
using Admin.Core.Service.Warehouse.XbcTypeS.Input;
using Admin.Core.Service.Warehouse.XbcTypeS.Output;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.Core.Service.Warehouse.XbcTypeS
{
    public class MapConfig : Profile
    {
            public MapConfig()
            {
                //新增
                //CreateMap<UserAddInput, UserEntity>();
                //CreateMap<UserUpdateInput, UserEntity>();
                CreateMap<XbcTypeAddInput, XbcType>();

                CreateMap<XbcTypeUpdateInput, XbcType>();
                //修改
                //CreateMap<UserChangePasswordInput, UserEntity>();
                //CreateMap<UserUpdateBasicInput, UserEntity>();

                //查询
                CreateMap<XbcType, XbcTypeGetOutput>();
                CreateMap<XbcType, XbcTypeListOutput>();
                CreateMap<XbcType, XbcTypeConfOutput>();
            }
    }
}
